package com.company;

class ITDemo implements IMyInterface<String> {

    public int add(int a, int b) {
        return a + b;
    }

    public <T> T addT(T a, T b) {
        return a;
    }

    @Override
    public void show(String name) {
        System.out.println(name);
    }

    public static void main(String[] args) {
        ITDemo itDemo = new ITDemo();
        Integer integer = itDemo.<Integer>addT(3, 4);
        System.out.println();
        itDemo.show("a nice day!");
    }
}
